#define _CRT_SECURE_NO_WARNINGS 1
#include"sort.h"
void test()
{
	//int a[] = { 5,1,1,2,0, 0};
	int a[] = { 4,5,2,7,3,10,15,9,12,6,5,1,1,2,0, 0,5,1,1,2,0, 145,8,89 };
	//int a[] = {6,1,2,7,9/*,3,4,5,10,8*/};
	//int a[] = {1,2,6,7,9/*,3,4,5,10,8*/};
	//int a[] = {1,2,3,4,5,6};
	//int a[] = { 2,3,4,5,7,10/*,15,9,12,6 */};
	//Insert_sort(a, sizeof(a) / sizeof(a[0]));
	//Shell_sort(a, sizeof(a) / sizeof(a[0]));
	//Select_sort(a, sizeof(a) / sizeof(a[0]));
	//Heap_sort(a, sizeof(a) / sizeof(a[0]));
	//Quick_sort(a, 0,sizeof(a) / sizeof(a[0]) -1);
	//Merge_sort(a, sizeof(a) / sizeof(a[0]));
	//Quick_sortNonR(a, sizeof(a) / sizeof(a[0]));
	Count_sort(a, sizeof(a) / sizeof(a[0]));
	//Merge_sortNonR(a, sizeof(a) / sizeof(a[0]));

	Print(a, sizeof(a) / sizeof(a[0]));
}

int main()
{
	test();

	return 0;
}

